﻿using System;
using System.Collections.Generic;

namespace Algoritmia.DataStructures.PriorityQueues
{
    public class MaxHeap<T> : Heap<T>
        where T : IComparable<T>
    {
        public MaxHeap(IEnumerable<T> data = null, int capacity = 0)
            : base(firstHasHigherPriority: (a, b) => a.CompareTo(b) == 1, data: data, capacity: capacity)
        { }
    }
}
